package vip.finance.makemoney.common.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.List;

@Data
public class UserInfo implements Serializable {
    @JsonIgnore
    private String token;

    @Transient
    private int currentTradeUserId = 0;

    private Integer id;
    private String username;
    private String name;
    private String mobile;
    private String email;

    private List<EastMoneyCookie> cookieList;

    @Data
    public static class EastMoneyCookie implements Serializable {
        private Integer userTradeId;
        private String accountId;
        private String cookie;
        private String validatekey;
    }
}
